#define _CRT_SECURE_NO_WARNINGS  1
#include<stdio.h>
int main()
{
	int arr[10] = { 0 };
	int sum = 0;
	for (int i = 0; i < 10; i++)
	{
		scanf("%d", &arr[i]);
	}
	for (int j = 0; j < 10; j++)
		sum += arr[j];
	printf("%d\n", sum);
	double avg = sum * 1.0 / 10;
	printf("%lf\n", avg);
	return 0;
}